package com.example.medical.mapper;

import com.example.medical.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {
    List<User> selectAll();
    User selectById(int id);
    int SaveUser(User user);
    int UpdateUser(User user);
    int DeleteUser(int id);
    int checkUser(User user );

}
